class InventoryController < ApplicationController
  before_action :set_menu

  def index
  	@submenu = :inventory
    @title = '库存查询'
  	@inventories = Inventory.all
  end

  private
  def set_menu
    @mainmenu = :part
  end
end
